import instance from '@/utils/request';

//应收财务信息列表
export function GetReceivableList(data) {
    return instance.request({
        url: "api/Receivables/GetCustomList",
        method: "post",
        data
    })
}
//财务类别下拉
export function GetReceivableselect(data) {
    return instance.request({
        url: "api/Receivables/GetCustom",
        method: "post",
        data
    })
}
//添加应收财务信息
export function AddCollection(data) {
    return instance.request({
        url: "api/Receivables/AddCollection",
        method: "post",
        data
    })
}
//批量删除
export function Delbathcollection(data) {
    return instance.request({
        url: "api/Receivables/BatchDelSuppiler",
        method: "post",
        data
    })
}
//删除
export function Delinfo(data) {
    return instance.request({
        url: "api/Receivables/DelSuppiler",
        method: "post",
        data
    })
}
//反填应收财务信息
export function Backbathcollection(data) {
    return instance.request({
        url: "api/Receivables/GetSupplierById",
        method: "post",
        data
    })
}
//修改
export function Updatecollection(data) {
    return instance.request({
        url: "api/Receivables/UpdateSuppiler",
        method: "post",
        data
    })
}
//审核修改状态
export function Updatestate(data) {
    return instance.request({
        url: "api/Receivables/Updatestate",
        method: "post",
        data
    })
}
//付款
export function Updpayment(data) {
    return instance.request({
        url: "api/Receivables/Updpayment",
        method: "post",
        data
    })
}
